package com.wlps.vo.sendcenter.warehouse;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * <p>
 *
 * </p>
 *
 * @author ZWYZY
 * @since 2020/8/2
 */
@ApiModel(value = "库房对象新增Vo")
@Data
public class WarehouseAddVo {

    @NotNull(message = "必须填库房名称(默认为中心库房)")
//    @NotBlank(message = "库房名称不能为空")
    @ApiModelProperty(value = "库房名称")
    private String name;

    @ApiModelProperty(value = "库房最大储量(默认为10000)")
//    @NotNull(message = "必须填库房最大储量")
    private Long maximumWarehouse;

    @ApiModelProperty(value = "库房地址(默认为中心库房)")
//    @NotNull(message = "必须填库房地址")
//    @NotBlank(message = "库房地址不能为空")
    private String address;


}
